<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!-- #LOGIN -->
<div class="post">
	<h2 class="title"></h2>
	<div class="entry">
		<s:form cssClass="cmxform" theme="simple" id="createUserForm" action="Login.action" method="post" >
			<table style="width: 100%">
				<tr>
					<td colspan="4">
						<s:if test="hasActionMessages()">
						<table style="width: 100%" class="msgLayout">
							<tr>
							    <td height="20" class="messageHeader">Warning</td>
						    </tr>
						    <tr>
							    <td >
							    	<div class="msgError">
										<table style="padding: 5px;" style="width: 100%">
											<tr height="100%" valign="top">
												<td>
													<table style="width: 100%">
														<tr valign="top">
															<td>
																<div class="textError">
															      <s:actionmessage/>
															    </div>
															</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									</div>
							    </td>
						    </tr>
					    </table>
						</s:if>
					</td>
				</tr>
				<tr>
					<td class="textLabel right" width="25%">
						ชื่อผู้ใช้งาน :
					</td>
					<td width="25%">
						<s:textfield key="username"></s:textfield>
					</td>
					<td class="textLabel right" width="25%">
					</td>
					<td width="25%">
					</td>
				</tr>
				<tr>
					<td class="textLabel right">
						รหัสผ่าน :
					</td>
					<td>
						<s:password key="password"></s:password>
					</td>
					<td class="textLabel right">
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td>
					</td>
					<td>
						<s:submit name="Login" value="เข้าสู่ระบบ"></s:submit>
						<s:reset value="ล้าง"></s:reset>
					</td>
					<td class="textLabel right">
					</td>
					<td>
					</td>
				</tr>
			</table>
		</s:form>
		</div>
</div>
